package com.boot.demo.task;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class TaskDemo {
	private Logger log = LoggerFactory.getLogger(getClass());
	
	/*@Scheduled(fixedRate = 10000)//十秒执行一次
	public void timerRate() {
        log.info(" ** fixedRate 运行..");
    }*/
}
